package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffSpaceOpenSceneDto
 * @使用场景
 */
@Data
public class BffSpaceOpenSceneDto implements Serializable {

  /**
   * 图标
   */
  @ApiModelProperty("图标")
  private String icon;

  /**
   * 场景标识
   */
  @ApiModelProperty("场景标识")
  private String sceneCode;

  /**
   * 场景名称
   */
  @ApiModelProperty("场景名称")
  private String sceneName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffSpaceOpenSceneDto that = (BffSpaceOpenSceneDto) o;
      return  icon == that.icon&&sceneCode == that.sceneCode&&sceneName == that.sceneName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), icon,sceneCode,sceneName);
    }

}
